'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	let {
		name,num
	} = event;
	let res = await db.collection('小说：' + name).where({
		num:num,
	}).get();
	return res;
};